"use strict"

import request from '@/utils/request'

// 新增项目点
export function addProjectPointControl(data){
    return request({
        url:"/business/projectPoint",
        method:"post",
        data:data
    })
}
// 修改项目点
export function updateProjectPointControl(data){
    return request({
        url:"/business/projectPoint",
        method:"put",
        data:data
    })
}
// 删除项目点
export function delProjectPointControl(data){
    return request({
        url:"/business/projectPoint",
        method:"delete",
        data:data
    })
}
// 查看指定项目点信息
export function getProjectPointControl(id){
    return request({
        url:"/business/projectPoint/"+ id,
        method:"get"
    })
}
// 查询项目点列表
export function getProjectPointControlList(query){
    return request({
        url:"/business/projectPoint/list",
        method:"get",
        params:query
    })
}

export * from "./projectImg.js"
export * from "./projectType.js"
export * from "./projectPointRisk.js"
export * from "./fireControlPoint.js"